<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {% for foo in [1,2,3] %}
        {{ foo }}
        <div>显示多次</div>
    {% endfor %}
    {#遍历字典#}
    {% for key,value in data.items() %}
        {{ key }}
        {{ value }}
    {% endfor %}
    
    
</body>
</html>